package com.siae.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.siae.pojo.ItemType;
import com.siae.pojo.MessageTemplate;
import com.siae.pojo.vo.Result;

import java.util.List;

public interface ItemTypeService extends IService<ItemType> {
    Result<List<ItemType>> getAllItemTypes(String name, String description);
    Result<ItemType> getItemTypeById(Integer id);
    Result<ItemType> getItemTypeByName(String name);
    Result addItemType(ItemType type);
    Result updateItemType(ItemType type);
    Result deleteItemType(Integer id);
}
